[INFO] cloning repository https://github.com/Caleb-Barger/rust-rougelike
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Caleb-Barger/rust-rougelike" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCaleb-Barger%2Frust-rougelike", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCaleb-Barger%2Frust-rougelike'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3076af413926f627f5c4b157b8768067b623c327
[INFO] testing Caleb-Barger/rust-rougelike against master#d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d for pr-83796
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCaleb-Barger%2Frust-rougelike" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Caleb-Barger/rust-rougelike on toolchain d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Caleb-Barger/rust-rougelike
[INFO] finished tweaking git repo https://github.com/Caleb-Barger/rust-rougelike
[INFO] tweaked toml for git repo https://github.com/Caleb-Barger/rust-rougelike written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/Caleb-Barger/rust-rougelike already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8d49c3ef0712fddc67bd5a77635eaccd75fdcab3a80249a1c797fe51515b021b
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "8d49c3ef0712fddc67bd5a77635eaccd75fdcab3a80249a1c797fe51515b021b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8d49c3ef0712fddc67bd5a77635eaccd75fdcab3a80249a1c797fe51515b021b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d49c3ef0712fddc67bd5a77635eaccd75fdcab3a80249a1c797fe51515b021b", kill_on_drop: false }`
[INFO] [stdout] 8d49c3ef0712fddc67bd5a77635eaccd75fdcab3a80249a1c797fe51515b021b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 760ae95548537d80b3ef3e54f5a37fe45ee7aed55226de0c37d910a71241213e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "760ae95548537d80b3ef3e54f5a37fe45ee7aed55226de0c37d910a71241213e", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling smallvec v1.4.2
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling const_fn v0.4.2
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling bytemuck v1.4.1
[INFO] [stderr]    Compiling wide v0.4.6
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling downcast-rs v1.2.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.9
[INFO] [stderr]    Compiling serde v1.0.117
[INFO] [stderr]    Compiling adler v0.2.3
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling regex-syntax v0.6.20
[INFO] [stderr]    Compiling ahash v0.3.8
[INFO] [stderr]    Compiling syn v1.0.48
[INFO] [stderr]    Compiling atom v0.3.6
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling mopa v0.2.2
[INFO] [stderr]    Compiling tuple_utils v0.3.0
[INFO] [stderr]    Compiling shrev v1.1.1
[INFO] [stderr]    Compiling libloading v0.6.5
[INFO] [stderr]    Compiling instant v0.1.8
[INFO] [stderr]    Compiling lock_api v0.3.4
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling walkdir v2.3.1
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.0
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling num-iter v0.1.41
[INFO] [stderr]    Compiling miniz_oxide v0.4.3
[INFO] [stderr]    Compiling num-rational v0.3.0
[INFO] [stderr]    Compiling rayon v1.5.0
[INFO] [stderr]    Compiling hashbrown v0.7.2
[INFO] [stderr]    Compiling dlib v0.4.2
[INFO] [stderr]    Compiling net2 v0.2.35
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling parking_lot_core v0.7.2
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling raw-window-handle v0.3.3
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling stb_truetype v0.3.1
[INFO] [stderr]    Compiling deflate v0.8.6
[INFO] [stderr]    Compiling jpeg-decoder v0.1.20
[INFO] [stderr]    Compiling aho-corasick v0.7.14
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling wayland-sys v0.23.6
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling gl_generator v0.13.1
[INFO] [stderr]    Compiling smallvec v0.6.13
[INFO] [stderr]    Compiling mio v0.6.22
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling parking_lot v0.10.2
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling ultraviolet v0.4.6
[INFO] [stderr]    Compiling png v0.16.7
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand_xorshift v0.2.0
[INFO] [stderr]    Compiling bracket-color v0.8.1
[INFO] [stderr]    Compiling regex v1.4.1
[INFO] [stderr]    Compiling wayland-scanner v0.23.6
[INFO] [stderr]    Compiling tynm v0.1.6
[INFO] [stderr]    Compiling mio-extras v2.0.6
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.5
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.7
[INFO] [stderr]    Compiling bracket-geometry v0.8.1
[INFO] [stderr]    Compiling crossbeam-queue v0.2.3
[INFO] [stderr]    Compiling crossbeam-channel v0.4.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.0
[INFO] [stderr]    Compiling glow v0.4.0
[INFO] [stderr]    Compiling approx v0.3.2
[INFO] [stderr]    Compiling ordered-float v1.1.0
[INFO] [stderr]    Compiling line_drawing v0.7.0
[INFO] [stderr]    Compiling flate2 v1.0.18
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling bracket-algorithm-traits v0.8.1
[INFO] [stderr]    Compiling crossbeam-deque v0.7.3
[INFO] [stderr]    Compiling crossbeam-deque v0.8.0
[INFO] [stderr]    Compiling rusttype v0.8.3
[INFO] [stderr]    Compiling wayland-commons v0.23.6
[INFO] [stderr]    Compiling calloop v0.4.4
[INFO] [stderr]    Compiling bracket-pathfinding v0.8.1
[INFO] [stderr]    Compiling crossbeam v0.7.3
[INFO] [stderr]    Compiling rayon-core v1.9.0
[INFO] [stderr]    Compiling wayland-client v0.23.6
[INFO] [stderr]    Compiling wayland-protocols v0.23.6
[INFO] [stderr]    Compiling bracket-random v0.8.0
[INFO] [stderr]    Compiling rusttype v0.7.9
[INFO] [stderr]    Compiling object-pool v0.4.4
[INFO] [stderr]    Compiling image v0.23.10
[INFO] [stderr]    Compiling andrew v0.2.1
[INFO] [stderr]    Compiling bracket-noise v0.8.1
[INFO] [stderr]    Compiling hibitset v0.6.3
[INFO] [stderr]    Compiling shred v0.10.2
[INFO] [stderr]    Compiling specs-derive v0.4.1
[INFO] [stderr]    Compiling specs v0.16.1
[INFO] [stderr]    Compiling smithay-client-toolkit v0.6.6
[INFO] [stderr]    Compiling winit v0.22.2
[INFO] [stderr]    Compiling glutin v0.24.1
[INFO] [stderr]    Compiling bracket-terminal v0.8.1
[INFO] [stderr]    Compiling bracket-lib v0.8.1
[INFO] [stderr]    Compiling rltk v0.8.1
[INFO] [stderr]    Compiling chapter-04-newmap v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::RunState::Running`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::RunState::Running;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/map.rs:129:63
[INFO] [stdout]     |
[INFO] [stdout] 129 |     fn get_pathing_distance(&self, idx1:usize, idx2:usize) -> f32 {
[INFO] [stdout]     |        --------------------                                   ^^^ expected `f32`, found `()`
[INFO] [stdout]     |        |
[INFO] [stdout]     |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] ...
[INFO] [stdout] 133 |         rltk::DistanceAlg::Pythagoras.distance2d(p1, p2);
[INFO] [stdout]     |                                                         - help: consider removing this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chapter-04-newmap`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "760ae95548537d80b3ef3e54f5a37fe45ee7aed55226de0c37d910a71241213e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "760ae95548537d80b3ef3e54f5a37fe45ee7aed55226de0c37d910a71241213e", kill_on_drop: false }`
[INFO] [stdout] 760ae95548537d80b3ef3e54f5a37fe45ee7aed55226de0c37d910a71241213e
